/*
 * @Description: 
 * @Author: yeeChen
 * @Date: 2022-12-20 16:19:22
 * @LastEditTime: 2022-12-20 16:37:41
 * @LastEditors: yeeChen
 */
// 1.导入express
const express = require('express')

// 2.调用express函数
const app = express()
// 调用express.static()方法，对外提供静态资源

// 谁写在前面调用谁
app.use(express.static('./file'))

app.use(express.static('./clock'))

app.listen(8080, function (req, res) {
    console.log('express running at on http://127.0.0.1:8080');
})